package com.egao.common.module.counsel.entity;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lym
 * @date 2022/1/24 15:48
 */
@Data
@ApiModel(description = "预约咨询学生")
@TableName("counsel_student")
public class CounselStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预约咨询ID")
    private Integer counselId;

    @ApiModelProperty("预约咨询教师ID")
    private Integer counselTeacherId;

    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty(value = "报名状态", notes = "0预约 1应约 2取消")
    private String state;

    @ApiModelProperty("咨询类型")
    private String title;

    @ApiModelProperty("咨询内容")
    private String content;

    @ApiModelProperty(value = "学生反馈状态", notes = "0已反馈 1未反馈")
    private String studentFeedback;

    @ApiModelProperty(value = "教师反馈状态", notes = "0已反馈 1未反馈")
    private String teacherFeedback;

    @ApiModelProperty("教师指导建议")
    private String teacherAdviceContent;

    @ApiModelProperty("教师指导反馈")
    private String teacherFeedbackContent;

    @ApiModelProperty("取消说明")
    private String cancel;

    @ApiModelProperty("取消时间")
    private Date cancelDate;

    @ApiModelProperty("简历名称")
    private String resumeName;

    @ApiModelProperty("简历地址")
    private String resumeUrl;

    @ApiModelProperty("简历临时链接")
    @TableField(exist = false)
    private String resumePreview;

    @ApiModelProperty("北森测评记录名称")
    private String bsName;
    @ApiModelProperty("北森测评记录地址")
    private String bsUrl;
    @ApiModelProperty("北森测评临时链接")
    @TableField(exist = false)
    private String bsPreview;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("是否删除 0否 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("咨询状态")
    @TableField(exist = false)
    private String counselState;

    @ApiModelProperty("咨询取消说明")
    @TableField(exist = false)
    private String counselCancel;

    @ApiModelProperty("咨询日期")
    @TableField(exist = false)
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date counselDate;

    @ApiModelProperty("咨询时间")
    @TableField(exist = false)
    private String counselTime;

    @ApiModelProperty("学号")
    @TableField(exist = false)
    private String xh;

    @ApiModelProperty("姓名")
    @TableField(exist = false)
    private String xm;

    @ApiModelProperty("性别")
    @TableField(exist = false)
    private String xb;

    @ApiModelProperty("学历")
    @TableField(exist = false)
    private String xl;

    @ApiModelProperty("电话")
    @TableField(exist = false)
    private String mobile;

    @ApiModelProperty("邮箱")
    @TableField(exist = false)
    private String email;

    @ApiModelProperty("学院")
    @TableField(exist = false)
    private String collegeName;

    @ApiModelProperty("专业")
    @TableField(exist = false)
    private String majorName;

    @ApiModelProperty("咨询师")
    @TableField(exist = false)
    private String teacherName;

    @ApiModelProperty("教师简介")
    @TableField(exist = false)
    private String teacherContent;

    @ApiModelProperty("反馈时间")
    @TableField(exist = false)
    private Date feedbackTime;

    @ApiModelProperty("咨询类型")
    @TableField(exist = false)
    private Integer counselType;
}
